package org.magicbox.qjunTPO.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 欢迎添加科技实践队粉丝群：690849711
 * @since 2021-11-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SysMessage implements Serializable {
    public SysMessage(){

    }

    public SysMessage(Integer suid,Integer uid, String content, Integer type, Long resId) {
        this.uid = uid;
        this.content = content;
        this.type = type;
        this.resId = resId;
        this.suid = suid;
    }

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer suid;

    private Integer uid;

    private String content;

    private Integer type;

    private Long resId;

    private LocalDateTime msgCreate;
}
